﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Manage.Traceability.Domain
{
    /// <summary>
    /// 溯源
    /// </summary>
    [SqlSugar.SugarTable("sourcemodels")]
    public class SourceModels
    {
        /// <summary>
        /// 溯源主键
        /// </summary>
        [SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "SourceId")]
        public int SourceId {  get; set; }
        /// <summary>
        /// 商品外键
        /// </summary>
        public int ShopId {  get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ShopBatch {  get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ShopBestDate {  get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string Shoppermit {  get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string ShopFirm {  get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public string ShopPletene {  get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string ShopImg { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool ShopIsdelete {  get; set; }
    }
}
